package com.hu.zhcc.shiro.service.xy;


import com.hu.zhcc.common.entity.Page;
import com.hu.zhcc.shiro.entity.dto.base.RoleDTO;
import com.hu.zhcc.shiro.entity.xy.dto.TBodyTypeDTO;
import com.hu.zhcc.shiro.entity.xy.pojo.TAssessQuestion;
import com.hu.zhcc.shiro.entity.xy.pojo.TBodyType;

import javax.servlet.http.HttpSession;
import java.util.List;
import java.util.Map;

public interface TbodyTypeService {

    int deleteByPrimaryKey(Integer id);

    int insert(TBodyType record);

    TBodyTypeDTO insertSelective(TBodyTypeDTO record);

    TBodyTypeDTO selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(TBodyTypeDTO record);

    int updateByPrimaryKey(TBodyType record);

    Page<TBodyTypeDTO> listBodyType (Map<String, Object> paremeters, int offset, int limit);

    List<TBodyTypeDTO> listAllTBodyType();

    Boolean queryByMemberId(Integer memberId);

    Integer addTBodyType(String idCard,TAssessQuestion[][] objects);

    Integer updateTBodyType(Integer memberId,TAssessQuestion[][] objects);
}
